package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.entity.UserLableLib;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2020-06-12
 */
public interface UserLableLibMapper extends BaseMapper<UserLableLib> {
    /**
     * 获取用户标签
     * @Author Shane
     * @Date 2019/10/9 22:51
     * @param
     * @return
     */
    List<Map<String, Object>> getUserLable(@Param("ids") List<Integer> ids);

    /**
     * 获取用户标签库
     * @Author Shane
     * @Date 2019/8/10 19:56
     * @param
     * @return
     */
    List<Map<String, Object>> getUserLableLib();

    /**
     * 获取用户标签信息
     * @Author Shane
     * @Date 2019/10/5 21:44
     * @param
     * @return
     */
    Map<String, Object> getLableById(@Param("id") Integer id);

}